<%@ Page Language="C#" MasterPageFile="~/pages/MasterPage.master" AutoEventWireup="true" CodeFile="Place.aspx.cs" Inherits="pages_Place" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="bodyHoder" Runat="Server">
<h4><asp:Label ID="lblTitle" runat="server"></asp:Label></h4>   
<hr />  
<asp:Repeater ID="rptPlace" runat="server">
        <ItemTemplate>
        <div class="contentbox">                   
            <a href="PlaceDetails.aspx?id=<%#Eval("Id") %>"><img alt="<%#Eval("Name") %>" src="<%#Eval("ImageURL") %>" class="thumb_image" /></a>
            <div style="overflow:hidden;">
            <h4><%#Eval("Name") %></h4>
            <%#Eval("Description") %><br />
            <a href="PlaceDetails.aspx?id=<%#Eval("Id") %>" class="link_button">Details ...</a>
             </div>
        </div>
        </ItemTemplate>
</asp:Repeater>
<asp:Repeater ID="rptHotel" runat="server">
        <ItemTemplate>
        <div class="contentbox">                   
            <a href="PlaceDetails.aspx?id=<%#Eval("Id") %>"><img alt="<%#Eval("Name") %>" src="<%#Eval("ImageURL") %>" class="thumb_image" /></a>
            <div style="overflow:hidden;">
            <h4><%#Eval("Name") %></h4>
            <%#Eval("Description") %><br />
            <asp:Panel ID="pnlRank" runat="server" Visible='<%#GetQualityState(Eval("Rank")) %>'><strong>Quality: <%#Eval("Rank") %> Star</strong></asp:Panel> 
            <a href="PlaceDetails.aspx?id=<%#Eval("Id") %>" class="link_button">Details ...</a>
             </div>
        </div>
        </ItemTemplate>
</asp:Repeater>
        <span class="v_padding10"></span>
        <asp:Label ID="lblPaging" runat="server"></asp:Label>
</asp:Content>

